| Fully Qualified Name: | Laminas\EventManager\EventManagerAwareInterface |
| Extends: | EventsCapableInterface |
Interface to automate setter injection for an EventManager instance
| Name | Description | Defined By |
|---|---|---|
| getEventManager() | Retrieve the event manager | EventsCapableInterface |
| setEventManager() | Inject an EventManager instance | EventManagerAwareInterface |
Retrieve the event manager
Lazy-loads an EventManager instance if none registered.
Returns: \EventManagerInterface
Inject an EventManager instance
| Parameter Name | Type | Description |
|---|---|---|
| $eventManager | \EventManagerInterface |
Returns: void